ABOUTDEVELOPERS |
SpatialStream® Code Examples
Adding Parcel Tile Layer
The most straight-forward way to add a Parcel Tile layer to a Leaflet map is by using the Leaflet API. The example below shows how to add a SpatialStream® Parcel Tile layer using the addTo function. GetMap
tiles = new L.tileLayer('http://spatialstream.com/GetMap.aspx?layers=samplesite.dmp/ParcelTiles&z={
z }&y={y }&x={x }&color=888888&ss_candy='+Dmp.Env.Connections["SS"]._candy,{ maxZoom: 19, minZoom: 14, id: 'samplesite.dmp/ParcelTiles' ).addTo(map); Run Sample Back To Index |